//
//  LLGeneralButtonCellModel.h
//  TaoTuo
//
//  Created by admin on 2019/11/8.
//  Copyright © 2019 admin. All rights reserved.
//

#import "LLGeneralCellModel.h"
@class LLGeneralButtonCellModel;

typedef void(^ClickActinBlock)(LLGeneralButtonCellModel * _Nullable model, UIButton * _Nullable button);

NS_ASSUME_NONNULL_BEGIN

@interface LLGeneralButtonCellModel : LLGeneralCellModel

@property (nonatomic, nullable, copy) NSString *rightNormalImageName;
@property (nonatomic, nullable, copy) NSString *rightSelectedImageName;
@property (nonatomic, assign) BOOL isSelect;
@property (nonatomic, strong) UIButton *button;

@property (nonatomic, nullable, copy) ClickActinBlock clickBlock;


+ (id)setModelWithImageName:(NSString * _Nullable)imageName
                      title:(NSString *)title
    contentAttributedString:(NSMutableAttributedString * _Nullable)contentAttributedString
       rightNormalImageName:(NSString * _Nullable)rightNormalImageName
     rightSelectedImageName:(NSString * _Nullable)rightSelectedImageName
                 clickBlock:(ClickActinBlock _Nullable)clickBlock
                   isSelect:(BOOL)isSelect;

+ (id)setModelWithImageName:(NSString * _Nullable)imageName
                      title:(NSString *)title
    contentAttributedString:(NSMutableAttributedString * _Nullable)contentAttributedString
     detailAttributedString:(NSMutableAttributedString * _Nullable)detailAttributedString
       rightNormalImageName:(NSString * _Nullable)rightNormalImageName
     rightSelectedImageName:(NSString * _Nullable)rightSelectedImageName
                 clickBlock:(ClickActinBlock _Nullable)clickBlock
                   isSelect:(BOOL)isSelect;


@end

NS_ASSUME_NONNULL_END
